package health_system.health_system.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(HttpStatus.NOT_FOUND)
public class FriendshipNotFoundException extends RuntimeException {
    
    public FriendshipNotFoundException(String message) {
        super(message);
    }
    
    public FriendshipNotFoundException(Long id) {
        super(String.format("Friendship not found with id: '%s'", id));
    }
    
    public FriendshipNotFoundException(String fieldName, Object fieldValue) {
        super(String.format("Friendship not found with %s: '%s'", fieldName, fieldValue));
    }
} 